package com.zh.auth.properties;

import com.zh.auth.enums.RsaModeEnum;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "ls.auth.rsa")
@Data
public class RsaProperties {

    private String privateKey;
    private String publicKey;
    private RsaModeEnum mode;
}
